﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:windowsToolbar="clr-namespace:Windows.Toolbar.Controls;assembly=Windows.Toolbar">

  

    <Style TargetType="TextBlock" x:Key="EntityTypeNameStyle">
        <Setter Property="Margin" Value="0 10 0 0" />
        <Setter Property="FontFamily" Value="Verdana" />
        <Setter Property="Foreground" Value="#656669" />
        <Setter Property="FontSize" Value="13" />
    </Style>
    <Style x:Key="DisplayTextStyle" TargetType="TextBlock">
        <Setter Property="FontFamily" Value="Verdana" />
        <Setter Property="FontSize" Value="17" />
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="Foreground" Value="#000000" />
    </Style>

   
    <Style x:Key="ListBoxStyle" TargetType="ListBox">
        <Setter Property="Background" Value="#F6F8FA" />
        <Setter Property="BorderThickness" Value="0" />
        <Setter Property="Margin" Value="50 0 0 0" />
    </Style>
    <Style x:Key="StackPanelStyleGradient" TargetType="StackPanel">
        <Setter Property="Background">
            <Setter.Value>
                <ImageBrush ImageSource="../../Images/FormHeaderGradientTop.png"/>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="FieldLabelStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="11" />
        <Setter Property="Foreground" Value="#656669"/>
    </Style>

    <Style x:Key="FieldValueStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="13" />
        <Setter Property="Foreground" Value="#000000"/>
    </Style>

   
   

    <Style x:Key="ListBoxItemStyleTransparentSelect" TargetType="ListBoxItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ListBoxItem">
                    <Grid Background="{TemplateBinding Background}">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal" />
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" To=".35" 
                                                         Storyboard.TargetProperty="Opacity"
                                                         Storyboard.TargetName="fillColor" />
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" To=".55" 
                                                             Storyboard.TargetProperty="Opacity"
                                                             Storyboard.TargetName="contentPresenter"/>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="SelectionStates">
                                <VisualState x:Name="Unselected"/>
                                <VisualState x:Name="Selected"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused"/>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Rectangle x:Name="fillColor" IsHitTestVisible="False" Opacity="0" RadiusY="1" RadiusX="1"/>
                        <Rectangle x:Name="fillColor2" IsHitTestVisible="False" Opacity="0" RadiusY="1" RadiusX="1"/>
                        <ContentPresenter x:Name="contentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" 
                                              Content="{TemplateBinding Content}" 
                                              HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" 
                                              Margin="{TemplateBinding Padding}"/>
                        <Rectangle x:Name="FocusVisualElement" 
                                       RadiusY="1" 
                                       RadiusX="1" 
                                       StrokeThickness="1" 
                                       Visibility="Collapsed"/>

                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style x:Name="MenuTextStyleTopLine" TargetType="TextBlock">
        <Setter Property="Foreground" Value="#23272c" />
        <Setter Property="HorizontalAlignment" Value="Center" />
        <Setter Property="Height" Value="13" />
        <Setter Property="VerticalAlignment" Value="Bottom" />
    </Style>

    <Style x:Name="MenuTextStyleBottomLine" TargetType="TextBlock">
        <Setter Property="Foreground" Value="#23272c" />
        <Setter Property="HorizontalAlignment" Value="Center" />
        <Setter Property="Height" Value="13" />
        <Setter Property="VerticalAlignment" Value="Top" />
    </Style>
    
    <Style x:Name="MenuImageStyle" TargetType="Image">
        <Setter Property="Height" Value="32" />
        <Setter Property="Width" Value="32" />        
    </Style>
</ResourceDictionary>
